package com.zs.games.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("game_news")
public class GameNews {
    @ApiModelProperty(value = "新闻ID")
    @TableId(value = "news_id", type = IdType.AUTO)
    private Integer newsId;
    @ApiModelProperty(value = "新闻标题")
    private String newsTitle;
    @ApiModelProperty(value = "新闻内容")
    private String newsContent;
    @ApiModelProperty(value = "点赞数")
    private Integer praiseNum;
    @ApiModelProperty(value = "收藏数")
    private Integer collectNum;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "创建用户")
    private Integer createUserId;


}
